package com.twu.biblioteca;

public class MembershipInquiryHandler extends UserManagement implements Handler {
    public static final String MEMBERSHIP_INQUIRY_MESSAGE = "Please talk to a Librarian. Thank you.";

    @Override
    public String handle() {
        if (currentUser.isToggleOn()) {
            return currentUser.getUserInformation();
        } else {
            return MEMBERSHIP_INQUIRY_MESSAGE;
        }
    }
}
